home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: calender program
- Date: Sat, 16 Mar 96 01:40:10 GMT
- Organization: none
- Message-ID: <826940410snz@genesis.demon.co.uk>
- References: <4ic2ka$1bda@hearst.cac.psu.edu>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4ic2ka$1bda@hearst.cac.psu.edu>
- bdh136@psu.edu "Brian D. Holden" writes:
-
- >Needed:
- >
- >Does anyone have or know where to get. The algorithm or code for a
- >calender program which will determine the day of the week of any day
- >while knowing a reference date and day.
-
- The standard library provides the mktime() function which can do this,
- provided the date is within the range that your implementation can handle.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-